package com.cloudwise.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * (UserRole)表实体类
 *
 * @author makejava
 * @since 2021-12-07 23:49:41
 */
@SuppressWarnings("serial")
@TableName("tbl_user_role")
public class UserRole extends Model<UserRole> {
    //id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户id
    private Integer userId;
    //角色id
    private Integer roleId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }


    }

